package edu.sctu.wangxiaoqiang.day20150515.textone;

/**
 * Created by user25 on 2015/5/15.
 */
public class PracticeMain1 {
    private String name = "爱慕课";

    public void show() {

        class MInner {
            int score = 83;
            public void getScore() {
              System.out.println("姓名：" + name + "\n加分后的成绩：" +score);
            }
        }

        MInner mi = new MInner();
        mi.getScore();
    }


    public static void main(String[] args) {

        PracticeMain1 mo = new PracticeMain1();
        mo.show();
    }
}

